//
//  UIView+Addtion.h
//  CwhiskyProject
//
//  Created by mac on 2019/1/2.
//  Copyright © 2019 cwhisky. All rights reserved.
//

#import <UIKit/UIKit.h>

NS_ASSUME_NONNULL_BEGIN

@interface UIView (Addtion)
@property (nonatomic, assign) CGFloat x;
@property (nonatomic, assign) CGFloat y;
@property (nonatomic, assign) CGFloat w;
@property (nonatomic, assign) CGFloat h;
@property (nonatomic, assign) CGFloat width;
@property (nonatomic, assign) CGFloat height;
@property (nonatomic, assign) CGPoint origin;
@property (nonatomic, assign) CGSize size;
@property (nonatomic, assign) CGFloat maxX;//最小不能小于x, 影响w
@property (nonatomic, assign) CGFloat maxY;//最小不能小于y, 影响h
@end

NS_ASSUME_NONNULL_END
